package com.ktjy.order.service;

import com.ktjy.pojo.order.Order;
import com.ktjy.service.IService;

/**
 * 订单业务逻辑接口
 *
 * @author LILIBO
 * @since 2023-02-18
 */
public interface OrderService extends IService<Order> {

    /**
     * 创建订单
     *
     * @param productId 商品id
     * @param uid 用户id
     * @return 订单对象
     */
    Order createOrder(Long productId, Long uid);

}
